package com.java.domain;

import java.io.Serializable;

/**
 * @version 2020.3.4
 * @User 悠恋
 * @Data 2022/11/26
 * @Time 18:13
 */
public class Order implements Serializable {
    private String oid;  // 订单编号
    private String payment; // 总价
    private String status; // 支付状态
    private String createtime; //支付时间
    private String uname; //购买的用户名称

    public Order() {
    }

    public Order(String oid, String payment, String status, String createtime, String uname) {
        this.oid = oid;
        this.payment = payment;
        this.status = status;
        this.createtime = createtime;
        this.uname = uname;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    @Override
    public String toString() {
        return "Order{" +
                "oid='" + oid + '\'' +
                ", payment='" + payment + '\'' +
                ", status='" + status + '\'' +
                ", createtime='" + createtime + '\'' +
                ", uname='" + uname + '\'' +
                '}';
    }
}
